Valued\WordPress\WooCommerce D

Total Complexity 145
Dependencies 16
Dependents 1
Total lines 766
Lines of code 665
Logical lines of code 305
Comment lines 12
Methods 49
Properties 1

Methods 49

Method Rating Maintainability Complexity Lines of code
sendInvite()
B
33 16 102
doSyncReviews()
A
45 10 42
detectOrderLanguage()
A
51 9 26
get_product_data()
A
47 8 36
addOrderDataJsonThankYouPage()
A
47 7 32
doProcessReview()
S
52 7 25
getCustomAttributes()
S
49 5 33
addGtinOption()
S
53 5 23
filter_data()
S
57 5 19
syncMultiSite()
S
61 4 13
getCommentData()
S
51 3 26
manualReviewSync()
S
56 3 18
statusReached()
S
64 4 9
activateSyncReviews()
S
66 4 8
get_plugin_version()
S
62 3 11
getProductMetaKeys()
S
55 2 21
processReview()
S
69 3 7
set_order_language()
S
66 3 8
getExistingComment()
S
57 1 20
getProductKeys()
S
56 1 19
isSyncedToday()
S
69 2 7
getReviewSyncDate()
S
70 2 6
getLastReviewSync()
S
73 2 5
processMultiSite()
S
64 2 10
syncReviews()
S
72 2 6
get_data()
S
69 2 7
saveGtinOption()
S
68 2 8
sanitizeLanguageCode()
S
70 2 6
getLanguageFromHeader()
S
71 2 6
autoSyncNotice()
S
67 2 7
orderStatusChanged()
S
74 2 5
getInviteDelay()
S
69 2 7
call_method()
S
68 2 7
__construct()
S
59 1 13
getMetaValue()
S
63 1 12
getProductKeysAction()
S
80 1 3
getManualSyncNonce()
S
80 1 3
getManualSyncAction()
S
80 1 3
getGtinMetaKey()
S
79 1 3
isValidGtin()
S
79 1 3
getNextReviewSync()
S
79 1 3
getReviewIdMetaKey()
S
79 1 3
getReviewsHook()
S
79 1 3
isProductReviewsEnabled()
S
80 1 3
logApiError()
S
67 1 8
insert_comment()
S
66 1 9
deactivateSyncReviews()
S
81 1 3
getProductImage()
S
75 1 4
failedInsertError()
S
76 1 4